/**
 * 
 */
package com.nars.reflection;

/**
 * @author Student
 * 
 */
public class ClassLoaderDemo {

	/**
	 * @param args
	 * @throws ClassNotFoundException 
	 */
	
	class DemoInner{
		
	}
	public static void main(String[] args) throws ClassNotFoundException {
		ClassLoader cl = ClassLoaderDemo.class.getClassLoader();
		System.out.println(cl);
		ClassLoader scl = cl.getSystemClassLoader();
		System.out.println(scl);
		System.out.println(Boolean.class.getClassLoader());
		Class clazzzz = ClassLoaderDemo.class.forName("ClassLoaderDemo$DemoInner");
		System.out.println(clazzzz.getName());
	}

}
